Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Point Lights


Q3PointLight_GetLocation

You can use the Q3PointLight_GetLocation function to get the location of a point light.

TQ3Status Q3PointLight_GetLocation (
TQ3LightObject light, 
TQ3Point3D *location);
light
A point light object.
location
On exit, the location of the point light, in world coordinates.
DESCRIPTION
The Q3PointLight_GetLocation function returns, in the location parameter, the current location of the point light specified by the light parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996